<template>
    <div class="com-cnt">
        <ul class="functionlist">
            <li @click="toshiming">实名认证 </li>
        </ul>
    </div>
</template>
<script>
    import { domain } from '@/assets/js/config'
    import $ from 'jquery'
    import { maskTips } from '@/assets/js/dom'
    export default {
        name: 'zhszPage',
        components:{
        },
        data(){
            return{
                userToken: ''
            }
        },
        mounted ( ) {
            var userToken = localStorage.getItem('token')
            this.userToken = userToken
        },
        methods : {
            toshiming: function(){
                var uthenticationStatus = localStorage.getItem('uthenticationStatus')
                if(uthenticationStatus == 2){
                    this.$router.push('/shiming')
                }else if(uthenticationStatus == 3){
                    maskTips({id:"already-uthenticationStatus",txt:"您已实名认证"})
                }
                
            }
        }
    }
</script>

<style lang="stylus" scoped>
.com-cnt
    width 100%
    height 100%
    .functionlist
        border-top 1px solid #dcdcdc
        margin-bottom 100px
        font-size 16px
        li
            border-bottom: 1px solid #dcdcdc
            padding 20px 0 20px 20px
            color #929292
</style>